package taskman;



public class User {

	private String name;

	private String id;
	
	private String hours;
	
	private String tasks;
	
	public User(String name, String id, String hours, String tasks) {
		this.name = name;
		this.id = id;
		this.hours = hours;
		this.tasks = tasks;
	}
	
	public User() {
		
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		User other = (User) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		return true;
	}

	public void setTasks(String string) {
		this.tasks = string;
	}

	public String getTasks() {
		return tasks;
	}

	public void setHours(String hours) {
		this.hours = hours;
	}

	public String getHours() {
		return hours;
	}
}
